<?php

namespace app\common\model;

class ArticleTitle extends \think\Model
{
    protected $table = 'db_article_title';

    protected $jsonAssoc = true;

    protected $autoWriteTimestamp = true;

    protected $schema = [
        'id' => 'int',
        'create_time' => 'int',
        'update_time' => 'int',
        'pubid' => 'varchar',
        'sort' => 'int',
        'key_word' => 'varchar',
        'generated_quantity' => 'int',
        'ip_address' => 'varchar',
        'member_id' => 'int',
    ];

    public $getters = [
        
    ];

    /**
     * 关联模型member
     */
    public function member()
    {
        return $this->belongsTo(Member::class );
    }
}
